﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;

namespace PHRClient.DoctorForms.PatientRegister
{
    public partial class PresentMedicalHistoryDetails : Form
    {
        public PresentMedicalHistoryDetails()
        {
            InitializeComponent();
            this.TopLevel = false;
            this.AutoScroll = true;
            this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.None;
            this.Dock = DockStyle.Fill;

            for (int i = 0; i < checkedListBox1.Items.Count; i++)
            {
                if (i % 3 == 0)
                {
                    checkedListBox1.SetItemChecked(i, true);
                }
            }

            for (int i = 0; i < checkedListBox2.Items.Count; i++)
            {
                if (i % 4 == 0)
                {
                    checkedListBox2.SetItemChecked(i, true);
                }
            }

            for (int i = 0; i < checkedListBox3.Items.Count; i++)
            {
                if (i % 2 == 0)
                {
                    checkedListBox3.SetItemChecked(i, true);
                }
            }
        }
    }
}
